<div id="navigator">
    <ul>
        <?php
        if ($_GET['show'] == 'list') {
            $a = '?show='.$_GET['show'];
        } elseif ($_GET['show'] == 'search') {
            $a = '?show='.$_GET['show'].'&hol='.$hol.'&search_field='.$mit;
        }
        if ($filter == "") {
            echo "<li class='inactive'>Mind</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a'>Mind</a></li>";
        }
        if ($filter == '[0-9]') {
            echo "<li class='inactive'>0-9</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=num'>0-9</a></li>";
        }
        if ($filter == 'a') {
            echo "<li class='inactive'>A</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=a'>A</a></li>";
        }
        if ($filter == 'b') {
            echo "<li class='inactive'>B</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=b'>B</a></li>";
        }
        if ($filter == 'c') {
            echo "<li class='inactive'>C</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=c'>C</a></li>";
        }
        if ($filter == 'd') {
            echo "<li class='inactive'>D</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=d'>D</a></li>";
        }
        if ($filter == 'e') {
            echo "<li class='inactive'>E</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=e'>E</a></li>";
        }
        if ($filter == 'f') {
            echo "<li class='inactive'>F</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=f'>F</a></li>";
        }
        if ($filter == 'g') {
            echo "<li class='inactive'>G</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=g'>G</a></li>";
        }
        if ($filter == 'h') {
            echo "<li class='inactive'>H</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=h'>H</a></li>";
        }
        if ($filter == 'i') {
            echo "<li class='inactive'>I</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=i'>I</a></li>";
        }
        if ($filter == 'j') {
            echo "<li class='inactive'>J</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=j'>J</a></li>";
        }
        if ($filter == 'k') {
            echo "<li class='inactive'>K</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=k'>K</a></li>";
        }
        if ($filter == 'l') {
            echo "<li class='inactive'>L</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=l'>L</a></li>";
        }
        if ($filter == 'm') {
            echo "<li class='inactive'>M</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=m'>M</a></li>";
        }
        if ($filter == 'n') {
            echo "<li class='inactive'>N</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=n'>N</a></li>";
        }
        if ($filter == 'o') {
            echo "<li class='inactive'>O</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=o'>O</a></li>";
        }
        if ($filter == 'p') {
            echo "<li class='inactive'>P</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=p'>P</a></li>";
        }
        if ($filter == 'q') {
            echo "<li class='inactive'>Q</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=q'>Q</a></li>";
        }
        if ($filter == 'r') {
            echo "<li class='inactive'>R</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=r'>R</a></li>";
        }
        if ($filter == 's') {
            echo "<li class='inactive'>S</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=s'>S</a></li>";
        }
        if ($filter == 't') {
            echo "<li class='inactive'>T</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=t'>T</a></li>";
        }
        if ($filter == 'u') {
            echo "<li class='inactive'>U</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=u'>U</a></li>";
        }
        if ($filter == 'v') {
            echo "<li class='inactive'>V</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=v'>V</a></li>";
        }
        if ($filter == 'w') {
            echo "<li class='inactive'>W</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=w'>W</a></li>";
        }
        if ($filter == 'x') {
            echo "<li class='inactive'>X</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=x'>X</a></li>";
        }
        if ($filter == 'y') {
            echo "<li class='inactive'>Y</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=y'>Y</a></li>";
        }
        if ($filter == 'z') {
            echo "<li class='inactive'>Z</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=z'>Z</a></li>";
        }
        if ($filter == '(\\\\*|\\\\-|\\\\+|\\\\.|\\\\,|\\\\?|\\\\;|\\\\!)') {
            echo "<li class='inactive'>Egyéb</li>";
        } else {
            echo "<li><a href='{$_SERVER['PHP_SELF']}$a&filter=symb'>Egyéb</a></li>";
        }
        ?>
    </ul>
</div>